from wsgiapp import WsgiApp
class AppMain:
    def __init__(self):pass
    
    def main(self, config):
        #1.load logic app
        app = self.load_app(config)
        #2.combine app list
        app = self.combine_app(app, config)
        return app
    
    
    def load_app(self, config):
        app = WsgiApp()
        app.main(config)
        return app
    
    def combine_app(self, app, config):
        return app